/*
* $Id: ChangeFamilyOperation.h 43 2010-02-26 11:13:59Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _CHANGE_FAMILY_OPERATION_H_
#define _CHANGE_FAMILY_OPERATION_H_

#include "../Operation.h"

class CChangeFamilyOperation : public COperation
{
public:
	CChangeFamilyOperation();
	virtual ~CChangeFamilyOperation();
	struct content : public COperation::content{
		content();
		int s_nId;
		std::tstring s_strName;
		int s_nIdPoint;
		int s_nType;
		std::tstring s_strNote;
		std::map<std::tstring, std::tstring> s_aUserFields;
		virtual void Clear();
	}m_content;
public:
	virtual void UpdateValue(IDatabase* pDatabase);
};

#endif/*_CHANGE_FAMILY_OPERATION_H_*/